﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace Mengsk.ProxyDelivery.App.UI.Goods
{
    class ShoesSkuVM : DependencyObject, ICloneable
    {
        public static readonly DependencyProperty ColorProperty = DependencyProperty.Register("Color", typeof(string), typeof(ShoesSkuVM));
        public static readonly DependencyProperty SizeProperty = DependencyProperty.Register("Size", typeof(string), typeof(ShoesSkuVM));
        public static readonly DependencyProperty PriceProperty = DependencyProperty.Register("Price", typeof(float), typeof(ShoesSkuVM));
        public static readonly DependencyProperty OffLinePriceProperty = DependencyProperty.Register("OffLinePrice", typeof(float), typeof(ShoesSkuVM));

        public string Color { get { return (string)this.GetValue(ColorProperty); } set { this.SetValue(ColorProperty, value); } }

        public string Size { get { return (string)this.GetValue(SizeProperty); } set { this.SetValue(SizeProperty, value); } }

        public float Price { get { return (float)this.GetValue(PriceProperty); } set { this.SetValue(PriceProperty, value); } }

        public float OffLinePrice { get { return (float)this.GetValue(OffLinePriceProperty); } set { this.SetValue(OffLinePriceProperty, value); } }

        public ColorTypeVM ColorType { get; set; }

        public object Clone()
        {
            return base.MemberwiseClone();
        }
    }
}
